<!DOCTYPE html>
<html> 
<#assign web_title='银行账户 - ${web_name!}'>
<#assign web_description='银行账户，${web_name!}p2p网贷平台'>
<#include "../../../include/PC_Header.html">
<body>
	<#assign nid="my_account"> 
	<#assign flag="bank"> 
	<#include "../../../common/function.html">
	<#include "../../../include/header.html">
	<!--header-end-->
	<!--用户中心的主栏目 开始-->
	<div class="qd_aboutus-top"><h3>您的位置：<a href="/">首页</a>&gt;<a>账户管理</a>&gt;<a href="/member/cash/addBankPage.html">添加银行卡</a></h3></div>
	<div class="pb30 pt20">
	<#if userCache?? && userCache.userType == 2>
		<#include "../../../include/member_borrow_header.html">
	<#else>
		<#include "../../../include/member_header.html">
	</#if>
	<!-- #main start-->
	<div id="container" class="clearfix">
		<div class="usermain clearfix">
			<!--S-左边的导航user_left 开始-->
			<div class="user_left">
			<#assign mid="m_account" >
			<#if userCache?? && userCache.userType == 2>
				<#include "../../../member_borrow/account_menu.html">
			<#else>
				<#include "../../account_menu.html">
			</#if>
			</div>
			<!--E-左边的导航user_left 结束-->

			<!--S-user_right-->
			<div class="user_right">
				<h2 class="user_title">添加银行卡</h2>
				<!--S-右边的内容user_right_main 开始-->
				<div class="user_right_main">
					<div class="addBankForm">
						<form method="post" id="addBankForm" action="${webroot}/tpp/tppSinaAction/tppBindBankCard.html">
							<ul>
								<li><label>真实姓名</label><b>${session_user.realName!''}</b><em>（请添加相同用户名的银行卡）</em></li>
								<li><label>开户银行</label>
									<#if bank??>
										<select name="dictBankId">
											<#list bank as item>
											<option value="${item.bankCode}">${item.bankName}</option>
											</#list>
										</select>
									<#else>
										<#if act?exists&&act.bank?exists>
											<@linkage name="dictBankId" id="bank" type="id" nid="account_bank" default=act.bank/>
										<#else>
											<@linkage name="dictBankId" id="bank" type="id" nid="account_bank"/>
										</#if>
									</#if>
								</li>
								<!-- <li><label>账号属性</label><input type="radio" name="accountProperty" value="1" checked="checked">企业对公账号<input type="radio" name="accountProperty" value="2" style="margin-left: 20px;">个人账号<span>*</span></li> -->
								<li id="city"><label>所在位置</label>
									<select class="prov" name="province"><option value="浙江">浙江</option></select>  
								    <select class="city" name="city" disabled="disabled"><option value="杭州">杭州</option></select> 
								    <select class="dist" name="area" disabled="disabled"><option value="西湖区">西湖区</option></select>
								    <span>*</span>
								</li>
								<#if userCache?? && userCache.userType == 3>
								<li><label>详细地址</label>
									<input type="text" name="bankAddress" autocomplete="off" maxlength="40" class="bankTxt" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false" />
								    <span>*</span>
								</li>
								</#if>
								<!--  .replace(/....(?!$)/g,'$& ')  美四位加一个空格-->
								<li><label>银行账号</label> <input type="text" name="bankNo" id="infoyhzh" autocomplete="off" maxlength="19" class="bankTxt" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false" onKeyUp="value=value.replace(/[^0-9]/g,'')" /><span>*</span></li>
								<li><label>确认账号</label> <input type="text" name="comfirmAccount" autocomplete="off" maxlength="19" id="infoyhzh2" class="bankTxt" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false"  onKeyUp="value=value.replace(/[^0-9]/g,'')" /><span>*</span></li>
								
								
								<li class="isBindSafeCard"><label>手机号码</label> <input type="text" name="mobilephone" placeholder="银行预留手机号" autocomplete="off" maxlength="11" id="mobilephone" class="bankTxt" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false"  onKeyUp="value=value.replace(/[^0-9]/g,'')"  /><span>*</span></li>
								<li class="isBindSafeCard"><label>验证码</label> <input type="text" name="code" id="code" placeholder="请输入手机验证码"autocomplete="off" maxlength="6" class="bankTxt" style="width:110px;margin-right:2px"/><input class="addCardVaildCode" type="button" id="getPhoneVcode" value="获取验证码"><span>*</span></li>					
								<li>
									<label>&nbsp;</label>
									<input type="hidden" name="user_id" value="${session_user.userId}" />
									<input type="hidden" name="taken" value="" />
									<input type="hidden" name="ticket" value="" id="myticket" />
									<input type="submit" class="cardAddBtn"  name="name"  value="确认添加" size="30" /> 
									<input type="hidden" name="token" value="${request.getAttribute("_page_token")}" />
								</li>
							</ul>
						</form>
						
					</div>
				</div>
				<!--E-右边的内容user_right_main 结束-->
			</div>
			<!--E-user_right-->
		</div>
	</div>
	</div>
	<!-- #main start-->
		<div class="animate_play_layer animate_verify_4"><img src="" alt=""></div>
		<#include "../../../include/PC_Footer_Additional_JS.html">
	<script>seajs.use("member/cash_addBank")</script>
	<#include "../../../include/footer.html">
